<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    *{
      margin: 0;
      padding: 0;
      list-style: none;
      text-decoration: none;
    }
    ul{
      width: 200px;
      text-align: center;
    }
    li{
      border: 1px solid red;
     
    }
    a{
      display: block;
      width: 200px;
      border-bottom: 1px solid red;
      background-color: salmon;
    }
    div{
      width: 200px;
      height: 200px;
      display: none;
    }
  </style>
</head>
<body>
  <ul>
    <li>
      <a href="script:;">标题一</a>
      <div>我是弹出来的div1</div>
    </li>
    <li>
      <a href="script:;">标题二</a>
      <div>我是弹出来的div2</div>
    </li>
    <li>
      <a href="script:;">标题三</a>
      <div>我是弹出来的div3</div>
    </li>
    <li>
      <a href="script:;">标题四</a>
      <div>我是弹出来的div4</div>
    </li>
  </ul>
  <script src='../../jquery-1.12.4.min.js'></script>
  <script>
    $('li').click(function(){
      $(this).children('div').show().parent().siblings().children('div').hide();
    })
  </script>
</body>
</html>